package com.surfilter.platform.base.model;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ActionPermission {
	//权限类型
	public PermissionMethodType permission() default PermissionMethodType.ACTION;
	//权限名称
	public String actionName();
	//操作说明
	public String remark() ;
	//是否略过系统日志
	public boolean skipLogging() default false;
	//关联actions
	public String[] ref() default {};
}
